package com.videomeetting.legend.videomeetting.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

import com.videomeetting.legend.videomeetting.R;
import com.videomeetting.legend.videomeetting.activity.base.BaseActivity;

import butterknife.BindView;
import butterknife.ButterKnife;

public class RegisteActivity extends BaseActivity implements View.OnClickListener{
    @BindView(R.id.activity_registe_deviceid_et)
    EditText devicesIdEt;
    @BindView(R.id.activity_registe_copy_btn)
    Button copyBtn;
    @BindView(R.id.activity_registe_registe_code_et)
    EditText registeCodeEt;
    @BindView(R.id.activity_registe_paste_btn)
    Button pasteBtn;
    @BindView(R.id.activity_registe_confirm_registe_btn)
    Button confirmRegisteBtn;
    @BindView(R.id.activity_registe_cancle_btn)
    Button cancleBtn;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_registe);
        ButterKnife.bind(this);
        copyBtn.setOnClickListener(this);
        pasteBtn.setOnClickListener(this);
        confirmRegisteBtn.setOnClickListener(this);
        cancleBtn.setOnClickListener(this);

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.activity_registe_confirm_registe_btn:
                Intent intent=new Intent(this,ControlActivity.class);
                startActivity(intent);
                break;
        }
    }
}
